Request["id"] 和Request("id")一样吗?
来源:百度知道 编辑:UC知道 时间:2024/07/07 06:35:28
如题所问!
另外,请将一下Request("id")的含义
另外,请将一下Request("id")的含义
只是功能是一样的,Request("id")是VB下的语法
两个都是获得客户端发送请求的数据,区别是:
Request["id"]是C#写法。
Request("id")是ASP写法。
Request是个对象,怎么可能能Requst("id")
[]是索引器的语法,编译后也是用方法实现的.
request.querystring("id")与request("id")区别在哪!
exec="delete * from guestbook where id="&request.form("id")"
Request.querystring("id") id为数字时可行 id为文本时部可行
sqldel="delete from book where id="&request("id")
rs.open "delete * from NEWS where id="&request("id"),conn,1
where id="&request("id") 无法更新记录
<%=request("id")%> 接收ID参数的问题!! 帮我!!
sql="update guestbook set check=true where id="&request("id")
我用request.getParameter("Id")接收一个整形的数据?
sql1="select * from user where id='"&request("username")&"'"